package com.surpermaket.entity;

import java.util.Date;

public class User {

    private Integer id;
    private String username;
    private String password;
    private Long role;
    private Role r;
    private Date createtime;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getRole() {
        return role;
    }

    public void setRole(Long role) {
        this.role = role;
    }

    public Role getR() {
        return r;
    }

    public void setR(Role r) {
        this.r = r;
    }
}
